Draft
Conversation
* Generate Workspace using Gita This change adds the capability to generate a workspace directly from the known_good.json file. To achieve this, the known_good.json file is transformed into a configuration file for a git workspace management tool called gita, which is then used to check out all mentioned modules on the specific commit/branch that is given in known_good.json. In addition, the score_modules.MODULE.bazel is updated with local_path_overrides to the checked out modules. Hence, a bazel build will immediately work as expected. # Conflicts: # .gitignore # Conflicts: # .devcontainer/devcontainer.json * also generate .gitmodules metadata * Remove git submodules generation This does not work, since submodules require also commit tracking in the top-level repository. This would by default pollute reference_integration, which is certainly not what we want. * do not create a workspace by default * Add VSCode Tasks and documentation * Fix deprecation warning * mark as executable * clarify the devcontainer relation and which build targets should be working
Co-authored-by: Frank Scholter Peres(MBTI) <145544737+FScholPer@users.noreply.github.com>
needed to edit existing release
* switched platform and referenced newest version * removed hashes * fixed json * updated with logging * updated known_good * readded hashes as the static code analysis fails without * updated persistency * reverted to kyron 0.0.3
…beta (2nd part) (eclipse-score#67) * bump score_docs_as_code version * bump score_persistency
…oject (eclipse-score#66) * Update README with OS Integration Details, exclude them from main Bazel project Since the OS integrations are currently realized as separate Bazel projects, and contain individual documentation, this should be reflected in the main README. Also, the sub-directories should be excluded explicitly from the top-level Bazel project. For this, the https://bazel.build/run/bazelrc#bazelignore is updated. # Conflicts: # README.md * fix: outdated module name
- simplify directories structure - cleanup unused hooks - clean configs
…se-score#77) - Reorganized directory structure: moved tools/ → scripts/known_good/ - Created proper package structure with __init__.py files - Extracted build configuration to external JSON file (build_config.json) - Introduced dataclass models for better type safety: * BuildModuleConfig for build configuration * Module for repository module metadata * KnownGood for known_good.json structure - Separated concerns into dedicated model files: * scripts/models/build_config.py * scripts/known_good/models/module.py * scripts/known_good/models/known_good.py - Refactored all scripts to use KnownGood dataclass: * integration_test.py * override_known_good_repo.py * update_module_latest.py * update_module_from_known_good.py * known_good_to_workspace_metadata.py - Removed duplicate functions (load_modules, load_known_good, write_known_good) - Moved timestamp update logic into KnownGood.write() method - Improved exception handling to catch SystemExit from validation errors - Removed unused get_module_info.py - Eliminated sys.path.insert usage through proper package imports All functionality preserved while improving code quality and type correctness.
* update to latest score_bazel_cpp_toolchains * fix builds, reduce logging builds * adapt other workflows, remove utests for logging * fix persistency test * add rust toolchain for feo * bin rust toolchain version
…e-score#82) * chore: use devcontainer image v1.1.0 Some time passed already since creation of version 1.0 and we should eventually the use version used in the workflow. * Trigger ebclfsa workflow on workflow changes Changing the workflow could otherwise in undetected build breaks. Co-authored-by: Oliver Pajonk <oliver@pjnk.de> Signed-off-by: lurtz <727209+lurtz@users.noreply.github.com> * Add ebclfsa/.bazelversion Fixes the ebclfsa build where bazel now wants to download version 9.0.0. The specified bazel version is present in the devcontainer and will not trigger a download. --------- Signed-off-by: lurtz <727209+lurtz@users.noreply.github.com> Co-authored-by: Oliver Pajonk <oliver@pjnk.de>
Co-authored-by: Kai Graeper <Kai.Graeper@etas.com>
* Initial reworked structure * Move feature_showcases to showcases and deploy to x86 * Initial itf support in qnx_x86_64 image * add scrample tests via images * move ebclfsa into images * Rename macro * Make examples using CLI to help user understand content of release * add persistency itf test * Fix CLI for QNX and support x86_64 toolchain * Add cli as entrypoint * Cleanup module bazel * Fix logo * Single module test * Port EB Corbos * Move autosd * Make structure more meangfull * Fix patches * Remove autosd and EB * Align autosd and workflows * fix docs build * Fix workflows * Remove qnx_qemu as it was moved to images --------- Co-authored-by: Piotr Korkus <piotr.korkus.ext@qorix.ai>
* Integrate simple lifecycle examples * Update to allow more custom layout * Make QEMU close on ctrl+c * Make CLI examples support more scenarios * Tune settings and reuse cache * USe latest modules versions * Use special signal
* fix autosd toolchain defintion Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * change showcases config files visibility to public Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * set images/autosd to build showcases Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * add OCI_IMAGE var to run_docker.sh Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * set correct autosd label in score_starter Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix autosd ci Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix autosd bazel file Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix ci rpm path Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix autosd build step Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix ci aib scrit url Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> * fix score_starter rebase Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> --------- Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
…ore#97) * Move test execution to shell script We require a custom script as we need different commands when running on QNX vs. Linux which is not possible with the json-based showcase execution * Add rust example app and cleanup configs * Fix bazel warning Warning about using the filename also for the gen_rule name * Move showcase steps to the .score.json file
* Extend structure * Adapt structure * Add generation for long term approach * Align schema * Add pipeline checker * add external UT python script - executes UTs for external modules based on known_good.json file * Move module to top level * Update all common files * Doc cleanup * add cpp coverage calculation * fix: codeql and docs * docs: templates instead of real data * debug * Try 22.04 * Align workflows * Use correct action for cache * docs cleanup workflow * test and docs workflow * improve caching * Fixes after review --------- Co-authored-by: Piotr Korkus <piotr.korkus.ext@qorix.ai>
* Align deps to use latest mains - logging used from branch to unblock further work * Prohibit both hash and version * Cleanup based on missed review from eclipse-score#101 * Adapt EB image * Fix QNX build * fix docs deployment * enable UTs for logging - add parsing `extra_test_config` from known_good.json - cleanup code * bump persistency * add baselibs config * Handle errors in split and cleanup workflows * add user selected test execution * fix communication metadata --------- Co-authored-by: Piotr Korkus <piotr.korkus.ext@qorix.ai>
* add rust line coverage calculation * automatic generation of rust_coverage BUILD file
each excluded target needs to be prefixed individually
Signed-off-by: Leonardo Rossetti <lrossett@redhat.com>
Due to the previous refactoring, a few paths and targets were wrongly named.
* build proper documentation * patch duplicated needs names in persistency
* bazel: remove redundant import bazelrc from home is included by default unless explicitly defined otherwise * docs: find newest release notes always newest release notes linked
* bazel: fix rust_analyzer support - update targets - add config * showcases: use kyron public examples * showcases: add graceful exit - apply formatting * showcases: add cli - parse selected showcases - `all` to run all showcases
- update test targets to use correct plugin specification - replace legacy target config with bridge config and update test args to --qemu-config / --qemu-image - switch ITF Bazel config from build: to test:itf-qnx-x86_64 and enable --test_output=errors - add showcase ITF test, remove obsolete persistency test, and align SSH tests to target.ssh()
* bazel: add starlark, formatting, copyright checks * format: apply for python * format: apply for rust * format: apply for bazel * format: apply for yaml * format: apply copyright headers * cicd: add format checks * update known_good script to match expected bazel formatting * format: empty line in the end for bash * cicd: use reusable format check
…#165) * Use showcase from single place and adapt docker runner * Bring qemu setup readme * fix showcases path Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> --------- Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> Co-authored-by: Leonardo Rossetti <lrossett@redhat.com>
* Cancel heavy workflows on push to PR * set aib version to 1.1.11 Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> --------- Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> Co-authored-by: Leonardo Rossetti <lrossett@redhat.com>
* locking: enforce Bzlmod lockfile consistency - add reusable lockfile check workflow - track MODULE.bazel.lock (remove from .gitignore) - enforce --lockfile_mode=error in CI and scripts Addresses eclipse-score/score#2628 * lock: update lockfile updated lockfile Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com> * fix: formatting fix Fixed formatting Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com> * revert: don't use the lockfile_mode in scripts Ensure the decoupling from CI and local builds this way Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com> --------- Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
Signed-off-by: Leonardo Rossetti <lrossett@redhat.com> Co-authored-by: Pawel Rutka <Pawel.Rutka.ext@qorix.ai>
* chore: extend codeowners list * fix: no commas Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Alexander Lanin <alex@lanin.de> --------- Signed-off-by: Alexander Lanin <alex@lanin.de> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Deploys datarouetr in linux x86_64 and qnx_x86_64 image - Multicast route added to qnx guest in network_setup_dhcp.sh required for capturing DLTs. - vlan_address updated in qemu_target_config.json for dlt_receive to capture untagged ethernet frames on tap0 interface - Adds test_remote_logging integration test that verifies remote logging of datarouter and network config. of the qnx qemu image by capturing DLT logs on the host.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.